package com.thd.springboot.project.codegenerator.service;

import com.github.pagehelper.Page;
import com.thd.springboot.framework.db.mapper.BasicMapper;
import com.thd.springboot.framework.db.service.BasicServiceImpl;


import com.thd.springboot.project.codegenerator.entity.GeneratorTemplateEntity;
import com.thd.springboot.project.codegenerator.mapper.GeneratorTemplateMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import java.util.List;

@Service("generatorTemplateService")
@Transactional
public class GeneratorTemplateServiceImpl extends BasicServiceImpl<GeneratorTemplateEntity> implements GeneratorTemplateService {

	@Autowired
    private GeneratorTemplateMapper generatorTemplateMapper;

	@Override
	public GeneratorTemplateMapper getMapper() {
		return generatorTemplateMapper;
	}

	@Override
    public void insertBatch(List<GeneratorTemplateEntity> list){
        generatorTemplateMapper.insertBatch(list);
    }

}
